import { createApp } from 'vue'
import App from './App.vue'
import { Toast, Dialog } from 'vant'
import 'vant/lib/index.css'
// 导入路由对象
import routerConfig from '@/router/router.config.js'
const app = createApp(App)
app.use(routerConfig)
app.use(Toast)
app.use(Dialog)
// app.config.globalProperties.$toast = Toast
// app.config.globalProperties.$dialog = Dialog
app.mount('#app')
